Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web-analytics): Create group property filters correctly in hogql property_to_expr #19981

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

robbie-c
Copy link
Member

@robbie-c robbie-c commented Jan 26, 2024

Problem

A user who had an internal test filter with group property was not able to use web analytics. Zendesk link

I'm not sure if this has ever worked, maybe it's enough of an edge case that we've just not run into yet.

Changes

Pass group_type_index into the Property constructor

How did you test this code?

I copied the user's filters into my local project, saw the same bug they were having in production (sentry link), this change fixed it.

Also added a unit test which is fixed by this PR

@mariusandra mariusandra merged commit ff17fd6 into master Jan 26, 2024
74 checks passed
@mariusandra mariusandra deleted the fix-group-property-test-filter branch January 26, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants